package aash.catalog.views;

import aash.catalog.controller.CatalogController;

/**
 * Abstract class for controller actions.
 * @author Aashintan
 */
public abstract class AbstractView {
    /**
     * the controller of the view.
     */
    private CatalogController controller = null;

    /**
     * Class constructor.
     * @param ccController the controller of the view Explorer
     */
    public AbstractView(final CatalogController ccController) {
        super();
        controller = ccController;
    }

    /**
     * Getter of the ExplorerView controller.
     * @return the controller
     */
    public final CatalogController getController() {
        return controller;
    }

    /**
     * Display the view.
     */
    public abstract void display();

    /**
     * Close the view.
     */
    public abstract void close();
}
